diff options
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-None].yaml')
-rw-r--r-- | tests/cassettes/test_status_post[Content warning-None].yaml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-None].yaml b/tests/cassettes/test_status_post[Content warning-None].yaml index 24f3623..51f8927 100644 --- a/tests/cassettes/test_status_post[Content warning-None].yaml +++ b/tests/cassettes/test_status_post[Content warning-None].yaml | |||
@@ -56,4 +56,61 @@ interactions: | |||
56 | X-XSS-Protection: [1; mode=block] | 56 | X-XSS-Protection: [1; mode=block] |
57 | content-length: ['2'] | 57 | content-length: ['2'] |
58 | status: {code: 200, message: OK} | 58 | status: {code: 200, message: OK} |
59 | - request: | ||
60 | body: status=Toot%21&spoiler_text=Content+warning | ||
61 | headers: | ||
62 | Accept: ['*/*'] | ||
63 | Accept-Encoding: ['gzip, deflate'] | ||
64 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
65 | Connection: [keep-alive] | ||
66 | Content-Length: ['43'] | ||
67 | Content-Type: [application/x-www-form-urlencoded] | ||
68 | User-Agent: [python-requests/2.9.1] | ||
69 | method: POST | ||
70 | uri: http://localhost:3000/api/v1/statuses | ||
71 | response: | ||
72 | body: {string: '{"id":"99882235398794639","created_at":"2018-04-18T20:06:01.087Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content | ||
73 | warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99882235398794639","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882235398794639","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | ||
74 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
75 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
76 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":21},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | ||
77 | headers: | ||
78 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
79 | Content-Type: [application/json; charset=utf-8] | ||
80 | ETag: [W/"c7a6f1584acac04c171a4a6286f6b616"] | ||
81 | Transfer-Encoding: [chunked] | ||
82 | Vary: ['Accept-Encoding, Origin'] | ||
83 | X-Content-Type-Options: [nosniff] | ||
84 | X-Frame-Options: [SAMEORIGIN] | ||
85 | X-Request-Id: [a056f2fb-b3a5-4e8b-bbd4-0eb5ff0c92b9] | ||
86 | X-Runtime: ['0.392034'] | ||
87 | X-XSS-Protection: [1; mode=block] | ||
88 | content-length: ['1411'] | ||
89 | status: {code: 200, message: OK} | ||
90 | - request: | ||
91 | body: null | ||
92 | headers: | ||
93 | Accept: ['*/*'] | ||
94 | Accept-Encoding: ['gzip, deflate'] | ||
95 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
96 | Connection: [keep-alive] | ||
97 | Content-Length: ['0'] | ||
98 | User-Agent: [python-requests/2.9.1] | ||
99 | method: DELETE | ||
100 | uri: http://localhost:3000/api/v1/statuses/99882235398794639 | ||
101 | response: | ||
102 | body: {string: '{}'} | ||
103 | headers: | ||
104 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
105 | Content-Type: [application/json; charset=utf-8] | ||
106 | ETag: [W/"44d15761b8148d9596549fea3948dfbe"] | ||
107 | Transfer-Encoding: [chunked] | ||
108 | Vary: ['Accept-Encoding, Origin'] | ||
109 | X-Content-Type-Options: [nosniff] | ||
110 | X-Frame-Options: [SAMEORIGIN] | ||
111 | X-Request-Id: [92e6b906-73b4-46c2-b7cb-f4f0aa0bff90] | ||
112 | X-Runtime: ['0.117121'] | ||
113 | X-XSS-Protection: [1; mode=block] | ||
114 | content-length: ['2'] | ||
115 | status: {code: 200, message: OK} | ||
59 | version: 1 | 116 | version: 1 |